package cn.hpu.service;

import java.util.List;
import java.util.Map;

import cn.hpu.po.Complain;

public interface ComplainService {

	void add(Complain complain);

	List<Complain> loadComplains(Integer beginIndex, Integer pageSize);

	Integer getRecordCount();

	Complain loadComplainById(Integer id);

	void update(Complain complain);

	void delete(Complain complain);

	String deleteComplains(Integer[] ids);

	Integer getRecordCount(Map<String, String> queryConditions);

	List<Complain> loadComplains(Map<String, String> queryConditions,
			Integer beginIndex, Integer pageSize);

	List<Complain> loadComplains();

}
